package cool.doudou.doudada.wechat.core.factory;

import cool.doudou.doudada.wechat.core.method.NotifyMethod;
import cool.doudou.doudada.wechat.core.method.OAuth2Method;

/**
 * MethodFactory
 *
 * @author jiangcs
 * @since 2022/08/13
 */
public class MethodFactory {
    private static NotifyMethod notifyMethod = null;
    private static OAuth2Method oauth2Method = null;

    public static NotifyMethod getNotify() {
        return notifyMethod;
    }

    public static void setNotify(NotifyMethod notifyMethod) {
        MethodFactory.notifyMethod = notifyMethod;
    }

    public static OAuth2Method getOAuth2() {
        return oauth2Method;
    }

    public static void setOAuth2(OAuth2Method oauth2Method) {
        MethodFactory.oauth2Method = oauth2Method;
    }
}
